package GUI;

import javax.swing.JPanel;
import java.awt.Color;
import javax.swing.JList;
import javax.swing.AbstractListModel;


public class PanelMenu extends JPanel {
	public PanelMenu() {
		setBackground(new Color(176, 224, 230));
		setLayout(null);
		
		JList list = new JList();
		list.setModel(new AbstractListModel() {
			String[] values = new String[] {"Usuario", "Empleado", "Tarifa", "Financiacin"};
			public int getSize() {
				return values.length;
			}
			public Object getElementAt(int index) {
				return values[index];
			}
		});
		list.setBounds(12, 172, 127, 224);
		add(list);
	}
}
